﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Main.Master" AutoEventWireup="true"
    CodeBehind="RolePermissions.aspx.cs" Inherits="HRM.Web.master.RolePermissions" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="row-fluid">
        <div class="span12">
            <div class="alert alert-info" runat="server" id="divAlert" visible="false">
                <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                <button type="button" class="close" data-dismiss="alert">
                    &times;
                </button>
            </div>
            <div class="block">
                <div class="head">
                    <h2>
                       Role Permission
                    </h2>
                    <div class="side fr">
                        <%-- <button class="btn" onclick="clear_form('#validate');" type="button">
                            Clear form</button>--%>
                    </div>
                </div>
                <div class="content np">
                    <div class="controls-row">
                        <div class="span2">
                            User Role Name:</div>
                        <div class="span10">
                            <asp:TextBox ID="txtUserRoleName" runat="server"></asp:TextBox>
                            <span class="help-inline">Required</span>
                            <asp:HiddenField ID="hdnID" runat="server" Value="0" />
                        </div>
                    </div>
                    <div class="controls-row">
                        <div class="span2">
                            Employee Actions:</div>
                        <div class="span10">
                            <asp:CheckBoxList ID="cblAddEmployee" runat="server">
                                <asp:ListItem Text="Add Employee" Value="1" />
                                <asp:ListItem Text="Delete Employee" Value="2" />
                                <asp:ListItem Text="Terminate Employee" Value="3" />
                            </asp:CheckBoxList>
                        </div>
                    </div>
                    <div class="controls-row">
                        <div class="span2">
                            Data Group Permission:</div>
                        <div class="span10">
                            <table>
                                <tr>
                                    <td>Asset Assignment Details
                                    </td>
                                    <td>
                                    <asp:CheckBoxList ID="cblAssetAssignmentDetails" runat="server">
                                        <asp:ListItem Text="Create" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="Read" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="Update" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="Delete" Value="4"></asp:ListItem>
                                    </asp:CheckBoxList>
                                    </td>
                                   
                                </tr>
                                <tr>
                                    <td>Asset Details
                                    </td>
                                    <td>
                                    <asp:CheckBoxList ID="cblAssetDetails" runat="server">
                                        <asp:ListItem Text="Create" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="Read" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="Update" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="Delete" Value="4"></asp:ListItem>
                                    </asp:CheckBoxList>
                                    </td>
                                   
                                </tr>
                                <tr>
                                    <td>Leave - Leave Calander
                                    </td>
                                    <td>
                                    <asp:CheckBoxList ID="cblLeaveClanader" runat="server">
                                        <asp:ListItem Text="Create" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="Read" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="Update" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="Delete" Value="4"></asp:ListItem>
                                    </asp:CheckBoxList>
                                    </td>
                                   
                                </tr>
                                <tr>
                                    <td>Leave - Leave Entitlements
                                    </td>
                                    <td>
                                    <asp:CheckBoxList ID="cblLeaveEntitlement" runat="server">
                                        <asp:ListItem Text="Create" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="Read" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="Update" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="Delete" Value="4"></asp:ListItem>
                                    </asp:CheckBoxList>
                                    </td>
                                   
                                </tr>
                                <tr>
                                    <td>Leave - Leave Entitlements and Usage Report
                                    </td>
                                    <td>
                                    <asp:CheckBoxList ID="cblLeaveUsageReport" runat="server">
                                        <asp:ListItem Text="Create" Value="1"></asp:ListItem>
                                        <asp:ListItem Text="Read" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="Update" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="Delete" Value="4"></asp:ListItem>
                                    </asp:CheckBoxList>
                                    </td>
                                   
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="footer">
                    <div class="side fr">
                        <div class="btn-group">
                            <asp:Button ID="btnCancel" runat="server" CssClass="btn validate-skip" Text="Cancel"
                                OnClick="btnCancel_Click" />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnSave" runat="server" CssClass="btn btn-primary" Text="Save" OnClick="btnSave_Click" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
